package com.lxgzhw.student_manager02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping("/")
    public String index() {
        return "index";
    }

    @GetMapping("/register")
    public String register() {
        return "register";
    }

    @GetMapping("/login")
    public String login() {
        return "login";
    }

    @GetMapping("/studentAdd")
    public String studentAdd() {
        return "studentAdd";
    }

    @GetMapping("/studentList")
    public String studentList() {
        return "studentList";
    }
}
